On 8/27/20 7:35 PM, Wolfgang Schuster wrote:
> [...]
> You have to replace %% with \letterpercent\letterpercent because you're
> still playing with TeX rules.
>
> \startxmlsetups xml:special
> \startitem
> \cldcontext{string.gsub("\xmlraw{#1}{.}"
Pablo Rodriguez schrieb am 27.08.2020 um 19:16:
On 8/27/20 6:16 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 27.08.2020 um 17:56:
[...]
\startxmlsetups xml:special
\startitem
\cldcontext{string.gsub([[\xmlraw{#1}{.}]], "%%",
"
On 8/27/20 6:16 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 27.08.2020 um 17:56:
>> [...]
>>\startxmlsetups xml:special
>> \startitem
>> \cldcontext{string.gsub([[\xmlraw{#1}{.}]], "%%",
>> "\\letterp
Pablo Rodriguez schrieb am 27.08.2020 um 17:56:
On 8/27/20 5:30 PM, Taco Hoekwater wrote:
[...]
Using Lua gsub(), I need to replace something like:
string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent")
Double it: %%
See also https://www.lua.org/manual/5
On 8/27/20 5:30 PM, Taco Hoekwater wrote:
>> [...]
>> Using Lua gsub(), I need to replace something like:
>>
>> string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent")
>
> Double it: %%
>
> See also https://www.lua.org/manual/5.3/manual.htm
xt with percent signs.
> ConTeXt parses them as comments (so no output).
>
> Using Lua gsub(), I need to replace something like:
>
> string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent")
>
> How do I need to invoke % to get the character found?
>
> Ma
> string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent")
Double it: %%
See also https://www.lua.org/manual/5.3/manual.html#6.4.1 , but the mention of
%% is a bit hidden.
Best wishes,
Taco___
If your que
Dear list,
I have and \xmlraw command that gives some text with percent signs.
ConTeXt parses them as comments (so no output).
Using Lua gsub(), I need to replace something like:
string.gsub([[\xmlraw{#1}{.}]], "%", "\\letterpercent")
How do I need to invoke % to get
Hello,
why the MP code doesn't draw % and # when it uses TeX's \U - inside MP
block?:
\def\T{TTT}
\def\U{UUU \letterpercent\letterhash}
\starttext
\letterpercent
\letterhash
\par
\startMPcode
draw btex AAA etex;
draw textext(\T);
% draw btex \T etex; % Err
draw
On 1/27/2013 10:05 PM, Procházka Lukáš wrote:
Hello,
why the MP code doesn't draw % and # when it uses TeX's \U - inside
MP block?:
\def\T{TTT}
\def\U{UUU \letterpercent\letterhash}
\starttext
\letterpercent
\letterhash
\par
\startMPcode
draw btex AAA etex;
draw
10 matches
Mail list logo